github.com/0chain/gosdk@v1.17.11/docs/uml/get auth ticket.puml (about)

     1  @startuml
     2  participant "<size:20><&terminal></size> ./zbox share" as cli
     3  collections gosdk
     4  
     5  cli -> gosdk: GetAllocation(allocationID)
     6  cli -> gosdk: GetFileStats(remotepath)
     7  cli -> gosdk: GetAuthTicket()
     8  
     9  gosdk -> gosdk: check initialized allocation
    10  gosdk -> gosdk: check valid path
    11  gosdk -> gosdk: create share request
    12  
    13  alt length of refereeEncryptionPublicKey greater than 0
    14  gosdk -> gosdk: get auth ticket for encrypted file
    15  gosdk -> cli: return auth ticket
    16  end
    17  
    18  gosdk -> gosdk: get auth ticket 
    19  gosdk --> cli: return auth ticket
    20  @enduml